<?php

namespace StudyBuddy;

/**
 * Concrete formatter class
 * Formats the data into json string
 * 
 */
class OutputJson extends Output {

    public function getContentType() {
        return 'application/json';
    }

    protected function format() {
        return \json_encode($this->aData);
    }

}
